// Copyright (c) 2008, 
// Marc Speck, http://www.faindu.com
// All Rights Reserved. The following is Source Code and is subject to all restrictions 
// on such code as contained in the license accompanying this product.
package com.faindu.editImage.rotation
{
	import com.faindu.editImage.base.IBaseTool;
	
/**
 * Interface for rotate tool.
 */
public interface IRotateTool extends IBaseTool
{
	
	/**
	 * The angle at which rotation is constrained. If this is 15 degrees for instance,
	 * you can only turn the image to 15, 30, 45, 60,... degrees.
	 */
	function get constrainRotationAngle():Number 
	function set constrainRotationAngle( degrees:Number):void 

	/**
	 * For rotating the controls of the different tools, <code>deltaAngle</code>
	 * is applied in e.g. cropControl.draw().
	 */
	function get deltaAngle(): Number
	function set deltaAngle( value:Number ): void

}
}